﻿using System;
using System.Collections.Generic;
using System.Text;
using CharacterTrailLibrary.Persist.BLL.Model;

namespace CharacterTrailLibrary.Interface
{
    public interface  IProcedurePersist
    {
        List<TProcedureModel> GetProcedureModels();
        TProcedureModel GetProcedureModel(string procedureNo);
        void SaveProcedureModels(List<TProcedureModel> list);
        void UpdateProcedureModel(string procedureNoOld,string procedureNoNew,
                                  string  procedureNameNew);

        void NewProcedureModel(string parentProcedureNo, string procedureNo, string procedureName);
        void DeleteChildProcedure(string procedureNo);
        List<TProcedureModel> GetChildModels(string parentProcedureNo);
    }
}
